@import "../../style/constant.scss";

.container {
  display: flex;
  flex-direction: column;
  position: relative;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.feedTopicsScrollView {
  @include ifndef(box-sizing, border-box, rn);
  @include ifndef(white-space, nowrap, rn);
  align-items: center;
}
.contentScrollView{
  padding-left: 4px;
  padding-right: 4px;
}
.topicsItemContainer {
  @include ifndef(display, inline-block, rn);
  @include boxSizing();
  margin: 0 12px;
}

.topicsItem {
  height: 49px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-bottom: 7px;
}

.topicsItemText {
  line-height: 22px;
  max-height: 22px;
  font-weight: 400;
  font-size: 16px;
  color: $weak;
}

.activeTopicText {
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  font-family: PingFangSC-Medium;
  color: $primaryBlack;
}

.activeBlock {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -10px;
  background-color: #47C690;
  width: 20px;
  height: 3px;
}

.leftLinear {
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 0;
  width: 20px;
  @include ifndef(background, linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%), rn);
  z-index: 1;
}

.rightLinear {
  position: absolute;
  right: 0;
  top: 15px;
  bottom: 0;
  width: 28px;
  @include ifndef(background, linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%), rn);
  z-index: 1;
}